package com.shxc.smarttrade.other.model;

/**
 * 版本更新
 */

public class PullVersionModel {

    /**
     * data : {"id":2,"createdAt":1511664820000,"updatedAt":1511664909000,"vaersion":"1.0.0.2","clientType":"IOS","isForce":1,"isUse":1,"apkSize":"11","updateMsg":"日常维护","updateUrl":"测试","channel":null}
     * err_code : 0
     * err_msg : successe
     */

    private PullVersionModel.DataBean data;
    private String err_code;
    private String err_msg;

    public PullVersionModel.DataBean getData() {
        return data;
    }

    public void setData(PullVersionModel.DataBean data) {
        this.data = data;
    }

    public String getErr_code() {
        return err_code;
    }

    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public static class DataBean {
        /**
         * id : 2
         * createdAt : 1511664820000
         * updatedAt : 1511664909000
         * vaersion : 1.0.0.2
         * clientType : IOS
         * isForce : 1 //是否强制更新 ：0 否；1 是
         * isUse : 1
         * apkSize : 11 //安装包大小
         * updateMsg : 日常维护  //更新信息
         * updateUrl : 测试 //更新的url地址
         * channel : null
         */

        private int id;
        private long createdAt;
        private long updatedAt;
        private String vaersion;
        private String clientType;
        private int isForce;
        private int isUse;
        private String apkSize;
        private String updateMsg;
        private String updateUrl;
        private Object channel;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public long getCreatedAt() {
            return createdAt;
        }

        public void setCreatedAt(long createdAt) {
            this.createdAt = createdAt;
        }

        public long getUpdatedAt() {
            return updatedAt;
        }

        public void setUpdatedAt(long updatedAt) {
            this.updatedAt = updatedAt;
        }

        public String getVaersion() {
            return vaersion;
        }

        public void setVaersion(String vaersion) {
            this.vaersion = vaersion;
        }

        public String getClientType() {
            return clientType;
        }

        public void setClientType(String clientType) {
            this.clientType = clientType;
        }

        public int getIsForce() {
            return isForce;
        }

        public void setIsForce(int isForce) {
            this.isForce = isForce;
        }

        public int getIsUse() {
            return isUse;
        }

        public void setIsUse(int isUse) {
            this.isUse = isUse;
        }

        public String getApkSize() {
            return apkSize;
        }

        public void setApkSize(String apkSize) {
            this.apkSize = apkSize;
        }

        public String getUpdateMsg() {
            return updateMsg;
        }

        public void setUpdateMsg(String updateMsg) {
            this.updateMsg = updateMsg;
        }

        public String getUpdateUrl() {
            return updateUrl;
        }

        public void setUpdateUrl(String updateUrl) {
            this.updateUrl = updateUrl;
        }

        public Object getChannel() {
            return channel;
        }

        public void setChannel(Object channel) {
            this.channel = channel;
        }
    }
}
